/**
 * 
 */
package com.cqan.digital.entity.resp;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.cqan.digital.entity.Digital;
import com.cqan.entity.resp.PageInfoResp;
import com.cqan.orm.Page;

/**
 * @Description TODO
 * @author slaton.wu@gmail.com
 * @date 2012-7-5下午6:52:58
 *
 */
@SuppressWarnings("serial")
@XmlRootElement(name="pageInfo")
public class DigitalPageResp extends PageInfoResp<Digital> {

	private List<Digital> data;
	
	public DigitalPageResp(){}
	
	public DigitalPageResp(Page<Digital> page){
		super(page);
	}

	@XmlElement(name="data")
	public List<Digital> getData() {
		return data;
	}

	public void setData(List<Digital> data) {
		this.data = data;
	}
	
}
